<?php
namespace app\admin\controller;
use think\facade\Request;
use think\View;

class Brand{
    public function brandList(){
            $param= Request::param();
            $where=[];
            if(isset($param['keywords'])&&$param['keywords']<>'') $where['keywords']=$param['keywords'];
            $list= \app\admin\model\Brand::getBrandList($where);
            \think\facade\View::assign('list',$list);
        return view();
    }
    public function brandAdd(){
        return view();
    }
}